Release 10.1A: OpenEdge Development:
Web Services
Array mapping in WSDL documents
This section provides detailed information about how array parameters are represented in each of the three WSDL style/use formats:
The description of each WSDL format includes an example. The example shows the schema information in the
typessection, plus themessagesections for request and response, for a 4GLprocedure with the following signature in theCustomerAOAppObject:
RPC/Encoded
For the RPC/Encoded format, an array parameter is represented as a SOAP array
complexTypein an XML Schema type definition, as shown:
The WSDL file contains a separate schema for each object defined in ProxyGen. Each such schema includes one SOAP array
complexTypedefinition for each data type used as an array parameter for any procedure or function in that object. For example, if the 4GL defines one or more parameters in the object with the data typeCHARACTER EXTENT, the schema includes acomplexTypenamed “ArrayOfString”.The RPC/Encoded WSDL document for the
arraySampleprocedure shown at the beginning of this section includes the followingtypesandmessagesections:
RPC/Literal
For the RPC/Literal format, an array parameter is represented as an unbounded sequence of its data type in an XML Schema type definition, where
XMLTypeis the XML Schema type:
The WSDL file contains a separate schema for each object defined in ProxyGen. Each such schema includes one
complexTypedefinition for each data type used as an array parameter for any procedure or function in that object. For example, if the 4GL defines one or more parameters in the object with the data typeCHARACTER EXTENT, the schema includes acomplexTypenamed “ArrayOfString”.The RPC/Literal WSDL document for the
arraySampleprocedure shown at the beginning of this section includes the followingtypesandmessagesections:
Document/Literal
For the Document/Literal format, an array parameter is represented as a sequence of its data type in an XML Schema type definition:
The bolded elements refer to:
The Document/Literal WSDL document for the
arraySampleprocedure shown at the beginning of this section includes the followingtypesandmessagesections:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |